﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 数据库常用操作封装
{
    class Program
    {
        static void Main(string[] args)
        {
            AccessDB acdb = new AccessDB(@"C:\Users\10635\Desktop\1.mdb");         
            List<string> strs = acdb.GetAllTableNames();
            List<string> str1 = StringTool.FindStringWithSubstring(strs, "LINE");
            foreach (var item in str1)
            {
                Console.WriteLine(item);
            }
            acdb.Disconnect();
            Console.ReadKey();
        }
    }
}
